<template>
	<div class="app">
		<Category :listArr="foods" title="美食"/>
		<Category :listArr="games" title="游戏"/>
		<Category :listArr="movies" title="电影"/>
	</div>
</template>

<script>
	import Category from './components/Category'

	export default {
		name:'App',
		components:{Category},
		data() {
			return {
				foods:['火锅','小龙虾','烧烤','牛排'],
				games:['王者农药','绝地求生','红色警戒','英雄联盟'],
				movies:['《教父》','《飞驰人生》','《小时代》','《你好，李焕英》'],
			}
		},
	}
</script>

<style>
	.app{
		display: flex;
		justify-content: space-around;
	}
</style>